<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <script type="text/javascript" language="javascript" src="http://cdn.uuola.cn/js/ut.js"></script>
        <script type="text/javascript" language="javascript" src="http://cdn.uuola.cn/js/jq.js"></script>
        <style type="text/css">
            body {margin:0px;padding:0;font-family:'微软雅黑',Verdana,Arial;}
            body{
                background: linear-gradient(top, #F06115, #EB5B0F); 
                background: -moz-linear-gradient(top, #F06115, #EB5B0F); 
                background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F06115), to(#EB5B0F)); 
                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F06115', endColorstr='#EB5B0F'); 
            }
            .STYLE1 {font-size: 12px;color: #FFFFFF;}
            .STYLE2 {font-size: 12px;color: #ffffff;}
            a:link {font-size:12px; color:#E9EEFA; text-decoration:none;}
            a:visited {font-size:12px; color:#E9EEFA; text-decoration:none;}
            a:hover {font-size:12px; color:#F5AA64;text-decoration:none;}
            .STYLE4 {font-size: 12px}
            #apDiv1 {
                position:relative;
                margin:5px 0px 5px 55px;
                width:230px;
                height:26px;
                color:#F5F5F5;
                font-weight:600;
                filter: dropshadow(OffX=2, OffY=1, Color='#555555', Positive='true');
            }
        </style>
    </head>
    <body>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td height="5" style="background:#000;"></td>
            </tr>
            <tr>
                <td height="36"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="262" height="43">
                                <div id="apDiv1">TxCMS v1.1 内容管理系统</div>
                            </td>
                            <td width="201">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td>
                                            <span class="STYLE1"><img src="img/home.gif" width="12" height="13"/></span>
                                            <span class="STYLE4"><a href="../" target="_blank">首页</a></span>
                                            <span class="STYLE1"><img src="img/quit.gif" width="13" height="13"/></span>
                                            <span class="STYLE4"><a href="#mgr-logout" onclick="sign_out();">退出系统</a></span>
                                            <span class="STYLE1"></span>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td width="100"></td>
                            <td width="430">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td><img src="img/uesr.gif" width="14" height="14"/>
                                            <span class="STYLE2">
                                                管理员: <span id="mgrname"></span> 服务器时间：<span id="servtime"></span>
                                                <script type="text/javascript"> 
                                                    function sign_out(){
                                                        $.get('app/admin/sign_out.shtm?t='+ut.r(),function(){
                                                            ut.gopage('login.html?t='+ut.r());
                                                        });
                                                    };

                                                    function runchk() {
                                                        window.setInterval(function(){
                                                            $.get('login/recheck_session.shtm?t='+ut.r(), function(x){
                                                                if($.trim(x)=='fail'){
                                                                    ut.gopage('login.html?t='+ut.r());
                                                                }
                                                            });
                                                            adjustClientTimes();
                                                        }, 80000);
                                                    };

                                                    function adjustClientTimes(){
                                                        $.get('login/get_server_times.shtm?t='+ut.r(), function(x){
                                                            $('#servtime').text(ut.parseDate(Number($.trim(x)), 16));
                                                        });
                                                    };
                                                    ut.delay(function(){
                                                        adjustClientTimes();
                                                        runchk();
                                                    });
                                                    var MIF ={
                                                        init:function(){
                                                            $.get('app/admin/out_name.shtm?'+ut.r(),function(x){
                                                                if(x.indexOf('Deny')>0){
                                                                    ut.gopage('login.html?t='+ut.r());
                                                                }else{$('#mgrname').text(x);}
                                                            });
                                                        }
                                                    };
                                                    MIF.init();
                                                </script>
                                            </span>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </body>
</html>
